package mvc.model.vo;

public class Cart {
    private int cartnumber;
    private String pname;
    private int online;
    private String color;
    private int rsize;
    private int msize;
    private double price;
    private int count;
    private double sum;
    private int checked;

    public Cart() {
    }

    public Cart(int cartnumber, String pname, int online, String color, int rsize, int msize, double price, int count, double sum,int checked) {
        this.cartnumber = cartnumber;
        this.pname = pname;
        this.online = online;
        this.color = color;
        this.rsize = rsize;
        this.msize = msize;
        this.price = price;
        this.count = count;
        this.sum = sum;
        this.checked = checked;
    }

    public int getCartnumber() {
        return cartnumber;
    }

    public int getChecked() {
        return checked;
    }

    public void setChecked(int checked) {
        this.checked = checked;
    }

    public void setCartnumber(int cartnumber) {
        this.cartnumber = cartnumber;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public int getOnline() {
        return online;
    }

    public void setOnline(int online) {
        this.online = online;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getRsize() {
        return rsize;
    }

    public void setRsize(int rsize) {
        this.rsize = rsize;
    }

    public int getMsize() {
        return msize;
    }

    public void setMsize(int msize) {
        this.msize = msize;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public double getSum() {
        return sum;
    }

    public void setSum(double sum) {
        this.sum = sum;
    }
}
